projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de485ca
)
(fast_find_position): Fix return value of new version
author
Kim F. Storm
<storm@cua.dk>
Tue, 17 Feb 2004 21:06:59 +0000
(21:06 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Tue, 17 Feb 2004 21:06:59 +0000
(21:06 +0000)
(was inverted compared to the 21.1 version).
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 8e0cf0d89adab9c15ffba242e379396aaf7353e3..93a90dafdfe9571a1184d862b38783522c6c4cfe 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-19656,7
+19656,7
@@
fast_find_position (w, charpos, hpos, vpos, x, y, stop)
if (charpos < MATRIX_ROW_START_CHARPOS (first))
{
*x = *y = *hpos = *vpos = 0;
- return
0
;
+ return
1
;
}
else
{
@@
-19696,7
+19696,7
@@
fast_find_position (w, charpos, hpos, vpos, x, y, stop)
}
*hpos = glyph - row->glyphs[TEXT_AREA];
- return past_end;
+ return
!
past_end;
}
#else /* not 1 */